package persistance.interfaces;

import java.util.List;

import model.Payment;
import model.Person;
import model.PersonBasis;

public interface IPaymentDao {
    public List<Payment> getPaymentsByGiver(Person giver);
    public List<Payment> getPaymentsByReceiver(PersonBasis receiver);
    public boolean save(Payment payment);
    public void delete(Payment payment);
}
